package com.abstractclass.constructor;
abstract class Server{
	protected final String name;
	Server(String name){
		this.name=name;
	}
	public abstract boolean start();
}
class Tomcat extends Server{
Tomcat(String name){
	super(name);
}
	@Override
	public boolean start() {
		System.out.println(this.name+" Started Successfully...");
		return true;
	}
	
}
public class AbstractConstructorTest {
public static void main(String[] args) {
	Tomcat t=new Tomcat("Apache Tomcat");
	t.start();
}
}
